types of inheritance in java tamil